package com.andnnl.act.conf;

import act.controller.annotation.UrlContext;
import org.osgl.inject.annotation.Configuration;
import org.osgl.mvc.annotation.GetAction;

/**
 * Created by chenss on 2019/12/3.
 */
@UrlContext("/conf")
public class ConfTest2 {

    @Configuration("myconf.foo.bar")
    private int fooBar;

    @GetAction("inject")
    public int inject() {
        return this.fooBar;
    }

}